object practice2 {
  def main(args: Array[String]): Unit = {
    val num1 = 10
    val num2 = 20

    val max = if (num1 > num2) num1 else num2

    println(s"两个数中的最大值是: $max")

  }
}
